package com.cl.short_video_java.vo.video;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class InserytVideo {
   private String title;
    @NotEmpty(message ="视频类型为空")
    private Integer type;
    @NotEmpty(message ="是否推荐为空")
    private Integer isRecommend;
    @NotEmpty(message ="视频分类为空")
    private List<Integer> typeId;
    @NotEmpty(message ="审核类型为空")
    private Integer status;
    private String desc;
   private Integer totalchunk;
    @NotEmpty(message ="图片参数为空")
    private String firstImgUrl;
    @NotEmpty(message ="视频参数为空")
    private String videoUrl;
    private long gold=0;
}
